﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;

namespace CoreEx.Common.Validation
{
    public interface IRuleCompiler
    {
        Func<T, bool> Compile<T>(Expression<Func<T, bool>> rule, IEnumerable<PropertyInfo> targetProperties);
    }
}
